package com.forbet.demo.po;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author hading
 * @date 2023-11-18 12:56:24
 */
@Data
@TableName("play_info")
public class PlayInfoPO implements Serializable {

    private static final long serialVersionUID = 1L;

//    id
    @TableId(type = IdType.ASSIGN_ID)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @TableField("home_name")
    private String homeName;

    @TableField("visit_name")
    private String visitName;

    @TableField("home_score")
    private Integer homeScore;

    @TableField("visit_score")
    private Integer visitScore;

    @TableField("playing_time")
    private Date playingTime;

    @TableField("predict_result")
    private String predictResult;

    @TableField("predict_result_asian")
    private String predictResultAsian;

    @TableField("predict_result_europe")
    private String predictResultEurope;


    @TableField("event_name")
    private String eventName;


//    比赛是否结束 0：没开始 1:正在踢 2:已结束
    @TableField("finish_flag")
    private String finishFlag;

//    大小球预测结果
    @TableField("big_small_result")
    private String bigSmallResult;

//    详细数据
    @TableField("detail_info")
    private String detailInfo;

}
